package com.ssy.lingxi.system.service;

import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.PageModel;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.system.dto.request.ReturnCodeDeleteRequest;
import com.ssy.lingxi.system.entity.ReturnCode;

/**
* 返回码业务处理层
* @author wrc
* @date 2020/6/9
*/
public interface ReturnCodeService {

    /**
    * 查询返回码设置列表
    * @author wrc
    * @date 2020/6/9
    */
    Wrapper<PageData<ReturnCode>> returnCodeList(PageModel request);


    /**
    * 删除返回码记录
    * @author wrc
    * @date 2020/6/9
    */
    Wrapper returnCodeDelete(ReturnCodeDeleteRequest request);



    /**
    * 修改返回码状态
    * @author wrc
    * @date 2020/6/9
    */
    Wrapper returnCodeUpdate(ReturnCode request);


    /**
    * 添加返回码设置记录
    * @author wrc
    * @date 2020/6/9
    */
    Wrapper returnCodeAdd(ReturnCode request);
}
